package com.example.model.wemedia.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "Channel", description = "频道信息表")
public class Channel {
    @Schema(description = "频道编号")
    @TableId(type = IdType.AUTO)
    private Integer channelId;

    @Schema(description = "频道名称")
    private String channelName;

    @Schema(description = "频道描述")
    private String channelDescription;

    @Schema(description = "是否默认频道")
    private Boolean isDefault;

    @Schema(description = "频道状态")
    private Boolean channelStatus;

    @Schema(description = "默认排序")
    private Integer channelOrd;

    @Schema(description = "创建时间")
    private Date createdTime;
}

